package controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/user")
public class UserController {
    private Logger log = Logger.getLogger(UserController.class);
//    @RequestMapping("/view")
//    public String view(){
//        System.out.println("查询用户详情");
//        return null;
//    }


    @RequestMapping(value = "/view",method = RequestMethod.GET)
    public String view(){
        System.out.println("查询用户详情");
        return null;
    }

    @RequestMapping(value = "/save",method = RequestMethod.POST)
    public String save(){
        System.out.println("保存用户信息");
        return null;
    }
}
